import instance from 'utils/request';


export function getListApi(params: any) {
    return instance.get('/subuser/filter/', { params });
  }
  
  export function updateStatusApi(id: number|string,body: any) {
    return instance.patch(`/subuser/${id}/`,{status:!body.activate});
  }